.editor {
  min-width: 180px;

  &__input {
    font-size: 16px;
    border: 0;
    padding: 10px;
    background-color: var(--panel-background-color);
    color: var(--textarea-text-color);
    width: 100%;
    box-sizing: border-box;
    line-height: 20px;
    text-align: center;

    &--unsave {
      color: var(--text-secondary-color);
      font-weight: 900;
    }

    &:focus {
      background-color: var(--textarea-background-color);
    }
  }

  &__empty {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;

    .item {
      padding: 20px 10px;
      font-size: 18px;
    }
  }

  &__blockhint {
    background-color: var(--focus-background-color);
    position: absolute;
    box-shadow: var(--panel-shadow);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    z-index: 4;
    display: none;
    padding: 10px;
    max-width: 50%;
    overflow: auto;
    max-height: 50%;
    word-break: break-word;
  }
}
